package JAVA实验报告;

public class Cat {
	private String name;
	private String coat_color;
	private int age;
	public Cat() {
		
	}
	public Cat(String name,String coat_color,int age) {
		this.name=name;
		this.coat_color=coat_color;
		this.age=age;
	}
	public String getname() {
		return name;
	}
	public void setname(String name) {
		this.name=name;
	}
	public String getcoat_color() {
		return coat_color;
	}
	public void setcoat_color(String coat_color) {
		this.coat_color=coat_color;
	}
	public int getage() {
		return age;
	}
	public void setage() {
		this.age=age;
	}
	public void showname() {
		System.out.println("我的名字叫"+this.name);
	}
	public void cry() {
		System.out.println("喵喵喵~~");
	}
	
	
	
}
